/*
 * ProjectVo.java
 * Copyright 2021 HuaWang Tech, all rights reserved.
 * HuaWang PROPRIETARY/CONFIDENTIAL, any form of usage is subject to approval.
 */

package com.huawang.mdesign.model.service.vo;

import com.huawang.business.vo.CopyInfoVo;
import com.huawang.business.dto.project.ModelDependency;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
public class ProjectVo {

    @Schema(description = "状态码", example = "200")
    private String projectId;

    private List<ModelDependency> dependencies = new ArrayList<>();

    private String rootModel;

    @Schema(title = "项目模型json格式数据，已废弃")
    private String modelData;

    @Schema(title = "项目类别")
    private String projectType;

    @Schema(title = "项目下载或导出时临时文件路径")
    private String tempFilePath;

    @Schema(title = "是否为包导出项目")
    private boolean export = false;

    @Schema(title = "项目数据类型 db/json")
    private String dataType;

    @Schema(title = "profile变更影响的模型")
    private List<String> updateStereotypeIds = new ArrayList<>();

    @Schema(title = "profile变更删除的模型")
    private List<String> deleteStereotypeIds = new ArrayList<>();

    @Schema(title = "项目模型db格式数据目录")
    private String dbDir;

    @Schema(title = "模板项目模型映射")
    private List<CopyInfoVo> templateIdMap;
}
